package ru.sgu.diploma.practic.domain.model;


import java.io.Serializable;
import java.util.LinkedList;
import java.util.List;

/**
 * User: datmakin
 * Date: 13.03.11
 * Email: atmakin.dv@gmail.com
 */

public class GeometricModel implements Serializable{
    private String name = "";
    private List<Point> pointList = new LinkedList<Point>();
    private ImageResolution imageResolution;

    public void addPoint(Point point) {
        pointList.add(point);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Point> getPointList() {
        return pointList;
    }

    public void setPointList(List<Point> pointList) {
        this.pointList = pointList;
    }

    public ImageResolution getImageResolution() {
        return imageResolution;
    }

    public void setImageResolution(ImageResolution imageResolution) {
        this.imageResolution = imageResolution;
    }
}
